package com.zhuiYun.project.util;

import com.zhuiYun.project.api.sysUser.entiy.SysUser;


/**
 * @auther zcy
 * @data 2020/6/18 17:12
 */
public class UserUtils {


    /**
     *
     * 获取当前登录用户 放入缓存中
     * @return
     */
    public static SysUser getUser(){
       // SysUser user = (SysUser)SecurityContextHolder.getContext().getAuthentication().getPrincipal();
        SysUser sysUser = new SysUser();
        sysUser.setUserName("pcAdmin");
        return sysUser;
    }

}
